IA64: fix fp fault/trap handler.
authorIsaku Yamahata <yamahata@valinux.co.jp>
Fri, 12 Dec 2008 01:34:18 +0000 (10:34 +0900)
committerIsaku Yamahata <yamahata@valinux.co.jp>
Fri, 12 Dec 2008 01:34:18 +0000 (10:34 +0900)
commit7dde2351e51d26088e0ab3951dfaa311994e9114
tree66076c0fc22321f006a22801803385450cb8a73f
parent9e8f811be58bfef391f71d1961e39f4d2f21de5a
IA64: fix fp fault/trap handler.

This patch is a part of fixes to bug reported as
http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=1392

When fpswa handler fails to get a bundle in guest,
fp fault/trap should be injected into the guest and let a guest
to handle it.
When the fpswa library return a error, there is no way to
pass the value to the guest. In that case, just inject fpswa
fault/trap into a guest running a risk that guest may get
error with their own fpswa call. Here it is assumed that
no applications depend on SIGFP process signal to recover
their computation.

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
xen/arch/ia64/vmx/vmx_fault.c
xen/arch/ia64/xen/faults.c
xen/include/asm-ia64/domain.h